package com.sn.author.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author xiaom
 * @Date 2020/9/18 11:09
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("任务参数")
public class TaskVo implements Serializable { 

    @ApiModelProperty("指定视频链接集合")
    private List<String> videoUrl = new ArrayList<>();

    @ApiModelProperty("关注间隔")
    private Integer ainterval = 1;

    @ApiModelProperty("是否关注数量限制 0(限制) 1(不限制)")
    private Integer limitFlag = 1;

    @ApiModelProperty("循环次数")
    private Integer count = 0;

    @ApiModelProperty("轮数延迟")
    private Integer cinterval = 1;

    /**
     *     LOGIN(10,"登录"),
     *     ATTENTION(20,"关注"),
     *     LIKE(30,"点赞"),
     *     COMMENT(40,"评论");
     */
    @ApiModelProperty("类型 10(登录) 20(关注) 30(点赞) 40(评论) 50(私信) 60(视频信息) 70(采集数据)")
    private Integer type = 0;

    @ApiModelProperty("选择的账号列表 如果是全选,集合里传递一个'-1' ")
    @Size(min = 1,message = "至少选择一个账号")
    private List<String> accounts = new ArrayList<>();

    @ApiModelProperty("是否检测涨粉自动回复 0(不回复) 1(回复)")
    private Integer automaticComment;

    @ApiModelProperty("评论类型")
    private Integer commentType;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("私信 名片 跳转地址")
    private String url;

    @ApiModelProperty("私信 名片 标题")
    private String title;

    @ApiModelProperty("私信 名片 图片地址")
    private String image;

    @ApiModelProperty("私信 名片 描述")
    private String desc;

    @ApiModelProperty("采集数量")
    private Integer collectionNum;


}
